﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.Models.DTO
{
    [Serializable]
    public class MessageDTO
    {
        public string Action { get; set; }
        public int Id { get; set; }
        //[Column("UserID")]
        public int UserId { get; set; }
        //[StringLength(200)]
        public string Info { get; set; }
        //[StringLength(20)]
        public string Topic { get; set; }
        //[Column("ComplaintID")]
        public int ComplaintId { get; set; }
        //[Column("BagID")]
        //[StringLength(50)]
        public string BagId { get; set; }
        //[Column(TypeName = "date")]
        public DateTime? AddTime { get; set; }
        public bool? HasRead { get; set; }
    }
}
